package com.eat.fish_service.service;

import com.eat.common_utils.R;
import com.eat.fish_service.entity.Dao.Fish;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LWB
 * @since 2022-03-21
 */
public interface FishService extends IService<Fish> {

    R addFish(Long aquariumId, Fish fish);

    R uploadFishPic(MultipartFile pic,String fishId);

    R getAllFish(Long aquariumId);

    R addFishPic(MultipartFile pic);

    R editFish(Fish fish);

    R deleteFish(Long aquariumId, String fishId);

}
